package com.twu.biblioteca;

public abstract class MenuOption {

    private final String name;

    protected MenuOption(String name) {
        this.name=name;
    }
    public String getName() {
        return name;
    }
    protected abstract String menuOptionHeader();
    protected abstract String menuOptionBody();
    protected String menuOptionFooter(){
        return "_____________\nEnter Option:\n" +
               "0 - Quit\n_____________\n";
    }
    protected abstract String getResponse();
    protected abstract boolean hasSubMenu();


    protected String getSubMenuResponse(int Option){
        return "No Sub Menu Available";
    }
}
